<extend name="Public/base"/>

<block name="body">

	 <link href="__NEW_CSS__/list.css" rel="stylesheet">
	 <div class="container">
	 
	 	
	 	<div class="row">
	 		<include file="Public:goods_list" />
	 	</div>
	 	
	 	<notempty name="_page">
    	 <div class="row">
	        	<div class="col-md-12">
	        		<nav>
					  <ul class="pagination">
					    {$_page}
					  </ul>
					</nav>
	            
	            </div>
	      </div>
    </notempty>
      </div>	 
</block>
<block name="script">
	$(function(){
		$('.goods-list').find('li').each(function(){
			
			a = $('.goods-list').innerWidth()/4*1.35;
			b = $('.goods-list').innerWidth()/4*0.95;
			$(this).find('.goods-pic').each(function(){
				$(this).innerHeight(Math.round(b)-1);	
			});
			$(this).innerHeight(Math.round(a)-1);	
			
		});
	});
</block>
